FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER 180119838@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /jeecg-boot/config/jeecg/
RUN mkdir -p /jeecg-boot/upload/backup/

WORKDIR /jeecg-boot

EXPOSE 8080

ADD ./src/main/resources/jeecg ./config/jeecg
ADD ./target/jeecg-boot-module-system-3.1.0.jar ./

CMD java -jar jeecg-boot-module-system-3.1.0.jar --spring.config.local=./application-prod.yml
##--spring.profiles.active=prod
